﻿<Page x:Class="MoreEPG.View.DataSourceView"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d"
        d:DesignHeight="400"
        d:DesignWidth="450"
        DataContext="{Binding DataSourceModel, Source={StaticResource Locator}}">
    <Page.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Skins/Theme.xaml" />
                <ResourceDictionary Source="/Skins/MainSkin.xaml" />
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
    </Page.Resources>
        <Border x:Name="Border2" Grid.Column="1" Margin="3" BorderBrush="GhostWhite" BorderThickness="1" CornerRadius="10">
            <Grid>
                <Grid.RowDefinitions>
                    <RowDefinition Height="40"></RowDefinition>
                    <RowDefinition Height="90"></RowDefinition>
                    <RowDefinition Height="2*"></RowDefinition>
                    <RowDefinition Height="0.6*"></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="*"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Label Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="5" Content="Data Source :" FontSize="12" HorizontalAlignment="Left" Foreground="White">
                    <Label.Effect>
                        <DropShadowEffect></DropShadowEffect>
                    </Label.Effect>
                </Label>
                <StackPanel Orientation="Horizontal" Grid.Column="0" Grid.Row="1" HorizontalAlignment="Left">
               
                <Border Margin="5,0,0,5" Height="80" Width="80" BorderBrush="Gray" BorderThickness="1">
                    <StackPanel HorizontalAlignment="Center">
                        <Image Margin="2" HorizontalAlignment="Center" Source="..\Images\CF.png" Height="32" Width="32"></Image>
                        <TextBlock Margin="2" HorizontalAlignment="Center" Text="Clickfinder"></TextBlock>
                        <RadioButton GroupName="Source" HorizontalAlignment="Center"  Margin="5" VerticalAlignment="Center" IsChecked="{Binding CF}"></RadioButton>
                    </StackPanel>
                   
                </Border>
                <Border Margin="5,0,0,5" Height="80" Width="80" BorderBrush="Gray" BorderThickness="1">
                    <StackPanel HorizontalAlignment="Center">
                        <Image Margin="2" HorizontalAlignment="Center" Source="..\Images\xmltv_32x32.png" Height="32" Width="32"></Image>
                        <TextBlock Margin="2" HorizontalAlignment="Center" Text="XMLTV"></TextBlock>
                        <RadioButton GroupName="Source" HorizontalAlignment="Center" Margin="5" VerticalAlignment="Center" IsChecked="{Binding XMLTV}" ForceCursor="False"></RadioButton>
                    </StackPanel>
                </Border>
                
                    
                </StackPanel>

         </Grid>
        </Border>
</Page>
